from django.contrib import admin
from .models import Category,Course,Tag
# Register your models here.
@admin.register(Category)
class CategoryAdmin(admin.ModelAdmin):
    list_display = ("title",)

@admin.register(Course)
class CourseAdmin(admin.ModelAdmin):
    list_display = ("title","author","price","update_time")


@admin.register(Tag)
class TagAdmin(admin.ModelAdmin):
    list_display = ("title",)
